using UnityEngine;
using System.Collections;

public class ShapeDetection : MonoBehaviour 
{

	Transform thisTransform;
	
	void Awake () 
	{
		thisTransform = transform;
	}
	
	void Update () 
	{
	
	}
	
	void OnTriggerEnter ( Collider hit )
	{
		if ( hit.gameObject.tag == "Pencil" )
		{
			Debug.Log(thisTransform.name);
			QuestionManager.Instance.coords[int.Parse(thisTransform.name)] = true;
		}
	}
}
